if it >=19 and it <=24 then add 1 to card field F2
if it >=25 then add 1 to card field F3
end repeat
add the value of card field F1 to card field F4
add the value of card field F2 to card field F5
add the value of card field F3 to card field F6
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=270 top=178 right=200 bottom=332
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F1
-- part 3 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=346 top=177 right=199 bottom=408
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F2
-- part 4 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=420 top=177 right=199 bottom=482
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F3
-- part 5 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=268 top=261 right=283 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F4
-- part 6 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=347 top=261 right=283 bottom=409
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F5
-- part 7 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=421 top=261 right=283 bottom=483
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: F6
-- part 8 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=353 top=24 right=46 bottom=420
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: RESET
----- HyperTalk script -----
on mouseUp
delete line 1 of card field F1
delete line 1 of card field F2
delete line 1 of card field F3
delete line 1 of card field F4
delete line 1 of card field F5
delete line 1 of card field F6
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=336 top=313 right=335 bottom=436
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CHI SQUARE
----- HyperTalk script -----
on mouseUp
global bagone
global bagtwo
global bagthree
put the value of card field F4 into bagone
put the value of card field F5 into bagtwo
put the value of card field F6 into bagthree
go to card id 25732
put 0 into card field class1
put 0 into card field class2
put 0 into card field class3
put 0 into card field class4
put 0 into card field F5
put 0 into card field F6
put 0 into card field F7
put 0 into card field F8
put bagone into card field "CLASS1"
put bagtwo into card field "CLASS2"
put bagthree into card field "CLASS3"
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=158 top=315 right=337 bottom=258
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SUB HEADINGS
----- HyperTalk script -----
on mouseUp
go to card id 34122
end mouseUp
-- part contents for background part 1
----- text -----
BLACK-ALBINO MOUSE
-- part contents for background part 2
----- text -----
If an albino mouse is crossed with a true breeding black coated mouse, the F1 all have the Agouti phenotype. This is a protective coat coloration in which the individual hairs on the back are generally black with a narrow yellow band near the tip. Self the F1 and determine the ratio of Agouti to Black to Albino mice seen in the F2. You may have to run the cross several times to get statistically significant numbers. Click on the Chi Square button to further test the vailidity of your hypothesis.